import Wx from '@/wx'
import {sign} from "../api/wx";



export function config() {
    let url = process.env.VUE_APP_PATH + Wx.getPath()
     return  new Promise(resolve => {
         sign(url).then(res => {
             Wx.config(res.data).then(()=>{
                 resolve()
             })
         })
     })
}